﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Skynet
{
    public partial class SkyBrowser : Form
    {
        public SkyBrowser(string url)
        {
            InitializeComponent();
            wBrowser.Navigate(new Uri(url));
            tstbURL.Text = url;
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void SkyBrowser_Load(object sender, EventArgs e)
        {

        }

        private void SkyBrowser_Resize(object sender, EventArgs e)
        {
            tstbURL.Size = new System.Drawing.Size(this.Width - 88, 25);
        }

        private void SkyBrowser_SizeChanged(object sender, EventArgs e)
        {

        }

        private void SkyBrowser_MaximizedBoundsChanged(object sender, EventArgs e)
        {
        }

        private void SkyBrowser_LocationChanged(object sender, EventArgs e)
        {
            tstbURL.Size = new System.Drawing.Size(this.Width - 88, 25);
        }
    }
}
